package com.maplefire.handler.collect;

import com.maplefire.annotation.MessageHandlerType;
import com.maplefire.constant.Constants;
import com.maplefire.handler.CollectMessageHandler;
import com.maplefire.message.CollectPush2RetailMsg;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Slf4j
@Component
@MessageHandlerType(operateType = Constants.Type.APPLY_ORDER, source = Constants.SOURCE_FROM_COLLECT)
public class ApplyOrderCollectMessageHandler extends CollectMessageHandler {

    @Override
    public void handler(CollectPush2RetailMsg message) {
        log.info("韵镖侠现场下单，单号{},执行业务逻辑", message.getOrderId());

    }
}